package cn.fuxue.hrms.common.base;

import java.io.Serializable;

/**
 * @author:fuxue
 * description:通用mapper
 * @param <T>
 * @param <ID>
 */

public interface BaseMapper<T,ID extends Serializable> {
    int deleteByPrimaryKey(ID id);
    int insert(T record);
    int insertSelective(T record);
    T selectByPrimaryKey(ID id);
    int updateByPrimaryKeySelective(T record);
    int updateByPrimaryKeyWithBLOBs(T record);
    int updateByPrimaryKey(T record);
}
